package com.jeeplus.modules.guide.service;

import com.jeeplus.database.datasource.annotation.DS;
import com.jeeplus.modules.guide.entity.GXStreetsInfoEntity;
import com.jeeplus.modules.guide.mapper.GXStreetsInfoMapper;
import com.jeeplus.modules.guide.mapper.MobilePublicSecurityTwoMapper;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@DS("queuing")
@RequiredArgsConstructor
@Service
@Slf4j
public class GXStreetsInfoService {
    private final GXStreetsInfoMapper gxStreetsInfoMapper;


    @Transactional(readOnly = false)
    public GXStreetsInfoEntity streetsInfo(String streetsName){
        return gxStreetsInfoMapper.streetsInfo(streetsName);
    }
    @Transactional(readOnly = false)
    public GXStreetsInfoEntity gxqInfo(String streetsName){
        return gxStreetsInfoMapper.gxqInfo(streetsName);
    }
}
